package com.inossem.warehousestorage_inossem.bean.inventory;

import android.text.TextUtils;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by Administrator on 2017/8/31 0031.
 */

public class InventoryOrdinaryMaterieBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"position":"A08-08-02-02","materielList":[{"id":"111111","materielCode":"WLBM12345678901","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述1","batch":"1234567891","inventoryNumber":"10","number":"2","unit":"套","specialInventoryFlagCode":"Q","specialInventoryFlagValue":"项目库存1","specialInventoryCode":"111","specialInventoryDescription":"特殊库存描述1"},{"id":"111111","materielCode":"WLBM12345678902","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述2","batch":"1234567892","inventoryNumber":"10","number":"2","unit":"套","specialInventoryFlagCode":"Q","specialInventoryFlagValue":"项目库存1","specialInventoryCode":"111","specialInventoryDescription":"特殊库存描述1"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * position : A08-08-02-02
         * materielList : [{"id":"111111","materielCode":"WLBM12345678901","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述1","batch":"1234567891","inventoryNumber":"10","number":"2","unit":"套","specialInventoryFlagCode":"Q","specialInventoryFlagValue":"项目库存1","specialInventoryCode":"111","specialInventoryDescription":"特殊库存描述1"},{"id":"111111","materielCode":"WLBM12345678902","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述2","batch":"1234567892","inventoryNumber":"10","number":"2","unit":"套","specialInventoryFlagCode":"Q","specialInventoryFlagValue":"项目库存1","specialInventoryCode":"111","specialInventoryDescription":"特殊库存描述1"}]
         */

        private String position;
        private List<MaterielListBean> materielList;




        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class MaterielListBean {
            /**
             * id : 111111
             * materielCode : WLBM12345678901
             * materielDescription : 物料描述物料描述物料描述物料描述物料描述物料描述物料描述1
             * batch : 1234567891
             * inventoryNumber : 10
             * number : 2
             * unit : 套
             * specialInventoryFlagCode : Q
             * specialInventoryFlagValue : 项目库存1
             * specialInventoryCode : 111
             * specialInventoryDescription : 特殊库存描述1
             */

            private String id;
            private String materielCode;
            private String materielDescription;
            private String batch;
            private String inventoryNumber;
            private String number;
            private String unit;
            private String specialInventoryFlagCode;
            private String specialInventoryFlagValue;
            private String specialInventoryCode;
            private String specialInventoryDescription;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getBatch() {
                return batch;
            }

            public void setBatch(String batch) {
                this.batch = batch;
            }

            public String getInventoryNumber() {
                return inventoryNumber;
            }

            public void setInventoryNumber(String inventoryNumber) {
                this.inventoryNumber = inventoryNumber;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getSpecialInventoryFlagCode() {
                return specialInventoryFlagCode;
            }

            public void setSpecialInventoryFlagCode(String specialInventoryFlagCode) {
                this.specialInventoryFlagCode = specialInventoryFlagCode;
            }

            public String getSpecialInventoryFlagValue() {
                return specialInventoryFlagValue;
            }

            public void setSpecialInventoryFlagValue(String specialInventoryFlagValue) {
                this.specialInventoryFlagValue = specialInventoryFlagValue;
            }

            public String getSpecialInventoryCode() {
                return specialInventoryCode;
            }

            public void setSpecialInventoryCode(String specialInventoryCode) {
                this.specialInventoryCode = specialInventoryCode;
            }

            public String getSpecialInventoryDescription() {
                return specialInventoryDescription;
            }

            public void setSpecialInventoryDescription(String specialInventoryDescription) {
                this.specialInventoryDescription = specialInventoryDescription;
            }
        }
    }
}
